package com.meida.boot.handler.company;

import com.meida.common.mybatis.entity.EntityMap;
import com.meida.common.mybatis.interceptor.DeleteInterceptor;
import com.meida.common.mybatis.query.CriteriaDelete;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Component;

/**
 * 企业删除处理器
 */
@Component("companyDeleteHandler")
@Log4j2
public class ComapnyDeletHandler implements DeleteInterceptor {


    /**
     * 删除预处理
     *
     * @param cq
     * @param params
     * @return
     */
    @Override
    public void prepare(CriteriaDelete cq, EntityMap params) {

    }

    /**
     * 删除后业务逻辑
     *
     * @param cq
     * @param params
     * @return
     */
    @Override
    public void complete(CriteriaDelete cq, EntityMap params) {
    }


}
